<!DOCTYPE html>
<html  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>订单详情</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <!-- jquery -->
    <script type="text/javascript" th:src="@{/js/jquery.min.js}"></script>
    <!-- bootstrap -->
    <link rel="stylesheet" type="text/css" th:href="@{/bootstrap/css/bootstrap.min.css}"/>
    <script type="text/javascript" th:src="@{/bootstrap/js/bootstrap.min.js}"></script>
    <!-- jquery-validator -->
    <script type="text/javascript" th:src="@{/jquery-validation/jquery.validate.min.js}"></script>
    <script type="text/javascript" th:src="@{/jquery-validation/localization/messages_zh.min.js}"></script>
    <!-- layer -->
    <script type="text/javascript" th:src="@{/layer/layer.js}"></script>
    <!-- md5.js -->
    <script type="text/javascript" th:src="@{/js/md5.min.js}"></script>
    <!-- common.js -->
    <script type="text/javascript" th:src="@{/js/common.js}"></script>
</head>
<body>
订单号:<div th:text="${orderDetail.orderId}"></div>
商品名称:<div th:text="${orderDetail.productName}"></div>
秒杀价格:<div th:text="${orderDetail.imgUrl}"></div>
支付渠道:<span th:if="${orderDetail.payChannel eq 0}">PC端</span>
<span th:if="${orderDetail.payChannel eq 1}">手机端</span>
购买数量:<div th:text="${orderDetail.count}"></div>
<div>
    <span th:if="${orderDetail.status eq 0}">未支付</span>
    <span th:if="${orderDetail.status eq 1}">已支付</span>
    <span th:if="${orderDetail.status eq 2}">已发货</span>
    <span th:if="${orderDetail.status eq 3}">已收货</span>
    <span th:if="${orderDetail.status eq 4}">已退款</span>
    <span th:if="${orderDetail.status eq 5}">已完成</span>

</div>

</body>
</html>